<template>
	<yd-layout id='myHeartDetail' class=''>
		<div class="content">{{myHeart.content}}</div>
	</yd-layout>
</template>

<script>
	export default{
		components:{
			
		},
		data(){
			return {
				myHeart:{},
			}
		},
		created() {
		},
		watch: {
			
		},
		computed: {
			
		},
		mounted(){
			document.title=`心声详情`
			this.myHeart =Object.assign({},this.myHeart,JSON.parse(sessionStorage.getItem('wst_myHeart'))) 
			sessionStorage.setItem('wst_myHeart','{}')
			if(this.myHeart.num==1){
				//document.title=`向${this.myHeart.nick_name}的倾诉心声`
			}else if(this.myHeart.num==2){
				//document.title=`来自${this.myHeart.nick_name}的心声`
			}
			
		},
		methods:{
			
		}
	}
</script>

<style lang="scss">
	@import './myHeartDetail.scss';
</style>